import 'package:flutter/material.dart';
import 'package:flutter_webview_plugin/flutter_webview_plugin.dart';
import 'package:get/get.dart';
import 'package:nyh_motorcade_app/widgets/custom_app_bar.dart';
import 'cooperate_controller.dart';

class CooperatePage extends StatelessWidget {
  final controller = Get.put(CooperateController());

  @override
  Widget build(BuildContext context) {
    return WebviewScaffold(
      appBar: CustomAppBar(context: context, title: "我要合作"),
      url: controller.getUrl(),
      debuggingEnabled: true,
      useWideViewPort: true,
      displayZoomControls: true,
      withOverviewMode: true,
    );
  }
}
